package com.situ.ssh.service.impl;

import com.situ.ssh.dao.IDepartmentDao;
import com.situ.ssh.entity.Department;
import com.situ.ssh.service.IDepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DepartmentServiceImpl implements IDepartmentService {

    @Autowired
    private IDepartmentDao departmentDao;

    public void save(Department department) {

    }

    public void deleteById(Department department) {

    }

    public void update(Department department) {

    }

    public Department findById(Integer id) {
        return null;
    }

    public List<Department> findAll() {
        return departmentDao.findAll();
    }

}
